angular.module('app', [])
    .controller('MyController', ['$scope', function($scope) {
        var updateClock = function() {
            $scope.clock = new Date();
        };
        setInterval(function() {
            $scope.$apply(updateClock);
        }, 1000);
        updateClock();
        $scope.ppp = "123";
    }])
// function My($scope){
// 	$scope.clock="456";
// 	$scope.ppp="123";
// }